package cn.chengpengper.im.platform.common.risk.window;

/*@formatter:off*/

/**
 * ____________________
 * < 神兽护体，永无bug! >
 * --------------------
 *
 * @author huchengpeng
 * @version v1.0.0
 * @date 2024/11/23 21:08
 * @description 滑动窗口限流服务接口
 */

/*@formatter:on*/

public interface SlidingWindowLimitService {
    boolean passThough(String key, long windowPeriod, int windowSize);
}
